/* header 头部的各种样式 */

body,html{
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    position: relative;
}

//导航栏精灵图的样式
.ico-comm{
    background:url(/imgs/ico-comm.png) no-repeat;
}

header{
    width: 100%;
   
}


/* 头部公告 */
.top-notice{
    
    height: 0px;
    overflow: hidden;
    
}
.top-action{
    width: 100%;
    position: relative;
   
}
@keyframes mymove{
    0%{
        top:-156px
    }
    100%{
        top:0
    }
}

/* 头部中间那段的信息 包含logo 搜索 登录 等等 */
.top-action .top-info{
    height: 100px;
    font-size: 16px;
    min-width: 1283px;
    color: #f6f7ef;
    background: #0e0e0f;
    position: relative;
    //border-bottom: 1px solid #222;
    
}
.top-action .top-info .con{ 
    width: 1283px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    
}
.top-action .top-info .con .logo-pic{
    float: left;
}
.top-action .top-info .con .logo-pic .logo-a1{
    margin: 18px 0 0 10px;
    width: 158px;
    height: 60px;
    background: url(/imgs/ico-comm.png);
    background-position: -168px -189px;
    display: inline-block;
}
.top-action .top-info .con .logo-txt{
    float: left;
    margin-left: 40px;
}
.top-action .top-info .con .logo-txt .logo-a2{
    margin: 30px 22px 15px 5px;
    width: 150px;
    height: 50px;
    background: url(/imgs/logo-wuxia.png);
    background-size: 150px 53px;
    display: inline-block;
}
.top-action .top-info .con .shop-card{
    float: right;
    line-height: 24px;
    font-size: 14px;
    color: #f6f7ef;
    text-decoration: none;
    cursor: pointer;
    margin-top: 47px;
    width: auto;
    height: 24px;
}
.top-action .top-info .con .shop-card i{
    margin-right: 7px;
    display: inline-block;
    background: url(/imgs/ico-comm.png);
    width: 24px;
    height: 24px;
    background-position: -2px -63px;
}
.top-action .top-info .con .shop-card span:nth-child(2){
    float: right;
}
.top-action .top-info .con .shop-card span:nth-child(3){
    float: right;
}
.top-action .top-info .con .login{
    margin-top: 39px;
    float: right;
    max-width: 250px;
    margin-right: 40px;
    height: 60px;
    line-height: 40px;
    font-size: 14px;
}
.top-action .top-info .con .login .unlogin{
    margin-left: 43px;
}
.top-action .top-info .con .login .unlogin i{
    margin-top: -2px;
    display: inline-block;
    background: url(/imgs/ico-comm.png);
    width: 21px;
    height: 21px;
    background-position: 0px -279px;
    vertical-align: middle;
}

// 登录之后显示
.top-action .top-info .con .login .logined{
    margin-left: 43px;
}
.top-action .top-info .con .login .logined .tuichu{
    cursor: pointer;
}
.top-action .top-info .con .login .logined .tuichu:hover{
    color:red;
}

.top-action .top-info .con .header-search{
    margin: 39px 20px 0 0;
    width: 240px;
    float: right;
    height: 40px;
    background: #242424;
    border-radius: 20px;
    position: relative;
    color: #aaaaaa;
}
.top-action .top-info .con .header-search #i-search{
    background: url(/imgs/ico-comm.png);
    position: absolute;
    top: 12px;
    left: 11px;
    width: 16px;
    height: 17px;
    background-position: -80px -3px;
    color: #3a3f4a;
}
.top-action .top-info .con .header-search #input-search{
    margin-left: 33px;
    width: 205px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    border: none;
    background: none;
    padding: 0;
    color: #fff;
    outline: none;
    font-size: 14px;
}


/* 头部的最后一结 导航栏 */
.top-action .top-nav{
    background-color: #0e0e0f;
    height: 56px;
    min-width: 1280px;
}
.top-action .top-nav .nav-con{
    width: 1283px;
    margin:  0 auto;
}
.top-action .top-nav .nav-con .nav-menu ul{
    width: auto;
    height: 100%;
}
.top-action .top-nav .nav-con .nav-menu ul li{
    width: 129px;
    height: 100%;
    line-height: 56px;
    text-align: center;
}
.top-action .top-nav .nav-con .nav-menu ul li a{
    display: block;
    width: 100%;
    height: 100%;
    color: #a6a6a6;
    font-size: 16px;
    background-position: 130px 56px;
}
.top-action .top-nav .nav-con .nav-menu ul li a:hover{
    background-position: -20px -92px;
    color: #fff;
}



//从全部商品开始用sass写

.top-action .top-nav .nav-con .nav-menu .allshops{
    width:auto;
    height: 100%;
    line-height: 56px;
    color: #fff;
    float: right;
    &-i{
        margin-left: 7px;
        display: inline-block;
        width: 10px;
        height: 12px;
        background-position: -100px -2px;
    }
}



//返回顶部
.totop{
    position: fixed;
    right: 15px;
    bottom: 22px;
    z-index: 99;
    & a{
        display: block;
        border: 1px solid #dfdfdf;
        background: #f5f5f5;
        width: 43px;
        height: 43px;
        text-align: center;
        & i{
            background: url('/imgs/icons.png');
            background-position:0px -321px ;
            display: block;
            width: 30px;
            height: 30px;
            margin: 0 auto;
            margin-top: 12px;
            transition: all 0.2s;
            
        }
        &:hover{
            background-color: red;
            & i{
                background-position: 0px -358px;
            }
        }
    }
}




.fixnav{
    position: fixed;
    bottom: 280px;
    right: 20px;
    z-index: 999;
   
    & span{
        display: none;
    }
    & a{
        &:hover{
            background: #ff5556;
        }
        
    }
    & .mycart{
        height: 130px;
        background: #fff;
        padding: 0;
        &:hover{
            background: #ff5556;
            p{
                color: #fff;
            }
        }
        p{
            display:block;
            width: 100%;
            height: 15px;
            color: #3a3f4a;
            text-align: center;
            padding: 20px 0;
        }
    }
}